home *** CD-ROM | disk | FTP | other *** search
-
- TIMER
-
- by David Arens
-
-
-
- TIMER is a Telix script which will call (or run) other scripts at a
- specified time. There are currently several other scripts which will do
- this also, but none that I have found will display the results like
- TIMER will.
-
- In a Telix script, an integer variable can be returned (to the
- calling script) for any number of conditions. TIMER has the ability to
- interpret the value in this variable and display a text string
- corresponding to that value. For example, I have scripts for every BBS
- I call that will log-in, check new files list, download new mail (if
- any), and log-off, all unattended. I have set up TIMER for myself in
- the following manner:
-
- Called script returns TIMER displays
-
- 1 No Connection Made
- 2 No New Mail
- 3 New Mail Downloaded
-
- TIMER can interpret values from a range of -999999999 to 2147483647
- and will display a string of text for that value up to 20 characters
- long. You may specify up to 10 different values for TIMER to interpret.
- See the Telix SALT manual for more information on returns and integer
- variables.
-
- On first running TIMER, you will be asked if you want to select
- colors for TIMER to use in its displays. If you don't wish to select
- colors, TIMER will use Telix's foreground and background colors as a
- default. You will then be asked if you want TIMER to interpret returns
- from called scripts. If you don't, the config file (TIMER.CNF) will be
- written and placed in the same directory as your Telix files, and TIMER
- will go to its first display screen. If you do wish for TIMER to
- interpret returns, you will be asked to enter a value. You may only
- enter a number from -999999999 to 2147483647. Then TIMER will ask for
- the text string to display for this value, and you may enter up to 20
- characters. TIMER will continue asking for values and text strings
- until a total of 10 have been entered, or you may press ESCAPE at any
- time when you have finished. Then TIMER will write the config file and
- present you with the first display.
-
- TIMER's first display screen: Following the prompts TIMER gives
- you will be asked for a filename of a script, and hour and minutes that
- it should be run. (Enter 24-hour format for hour, i.e. 18 for 6 PM)
- You may hit ESCAPE at any of these prompts to exit TIMER. After a valid
- filename and time is entered, you have the option of running this script
- at the same time every day. If you enter Y, TIMER will write a que file
- (TIMER.QUE) containing this information and every time that TIMER is
- run, this script will be installed automatically. You may enter up to 5
- daily scripts. When TIMER has enough information it will go to the main
- display screen, showing the scripts to be executed, as well as the
- status box.
-
- After a script has run and control returns to TIMER, that script
- name will be displayed in the status box. If you chose to have TIMER
- interpret returns, a larger status box will be displayed with the text
- string you entered next to the script name. Keep in mind that if a
- value was returned from your script that has not been defined for TIMER
- to interpret, that this space will be empty.
-
- While TIMER is waiting to execute scripts, you may press A to add
- another script, R to remove a script, or Q to quit TIMER. (At this time,
- TIMER will only accept up to 5 scripts to run) When TIMER has executed
- all scripts, (unless any are daily) it will exit and control returns to
- Telix. If any scripts are defined as daily, TIMER will remain in
- executing mode and run them again at the same time the next day.
-
- -------------------------------------------------------------
-
- TIMER is being offered as FreeWare -- if you like it please feel
- free to use it, with no obligation or registration required. All I ask
- is that you fill out the form included and mail it to me. Also, if you
- do happen to have a few dollars burning a hole in your pocket, let me
- assure you that all contributions will be graciously accepted.
-
- If you have problems or questions concerning TIMER, you can leave a
- message for me on the Telix BBS. Enjoy !!
-
-
- Telix and SALT trademarks are Copyright (C) by Exis, Inc.
-